hipreme_engine v1.0.14 (2023-12-23T18:43:10Z)
Dub
Repo
isFunction
hip
util
reflection
Copy pasted from std.traits for not importing too many things
template
isFunction (
X
...
)
if
(
X
.
length
== 1
) {
static if
(
is(typeof(&X[0]) U : U*) && is(U == function) || is(typeof(&X[0]) U == delegate)
)
enum
isFunction
;
static if
(!(
is(typeof(&X[0]) U : U*) && is(U == function) || is(typeof(&X[0]) U == delegate)
))
static if
(
is(X[0] T)
)
enum
isFunction
;
static if
(!(
is(typeof(&X[0]) U : U*) && is(U == function) || is(typeof(&X[0]) U == delegate)
))
static if
(!(
is(X[0] T)
))
enum
isFunction
;
}
Members
Manifest constants
isFunction
enum
isFunction
;
Undocumented in source.
isFunction
enum
isFunction
;
Undocumented in source.
isFunction
enum
isFunction
;
Undocumented in source.
Meta
Source
See Implementation
hip
util
reflection
aliases
Parameters
enums
hasModule
hasType
functions
ForwardFunc
ForwardInterface
GenerateGetterSettersInterfaceImpl
asInt
attributes
enumLength
inverseLookup
isLiteral
isMethodImplemented
isTypeArrayOf
nullCheck
mixin templates
ExportDFunctions
ExportDFunctionsImpl
ForwardInterface2
GenerateGettersSettersInterface
GenerateRuntimeAccessors
HipExportDFunctions
HipExportDFunctionsImpl
MultiInherit
structs
ExportD
Version
templates
aaToSwitch
generateExportConstructor
generateExportFunc
generateExportName
getParams
getUDAs
hasMethod
hasOverload
hasUDA
isEnum
isFunction
isReference
Copy pasted from std.traits for not importing too many things